/*
 * My First HTML5 *BearAll.net*
 *
 * This is my first attempt a repsonsive site 
 * I will be using the boilerplate project in WebMatrix
 *
 * Created by: Cris Vizcaino
 * Date: Jun 2013
 *
 * ==|== normalize ==========================================================
 */




/*
 -----------------------------------------------------
|NOTE: This style sheet leverages the layout-core.css.|
 -----------------------------------------------------
*/
@import url(css/layout-core.css);


@import url(css/normalize.css);



/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
/* a:visited { color: #551a8b; } */
a:hover { color: #06e; } 
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/*The following is custom CSS code*/
/* ==|== primary styles =====================================================
   Author: Cris Vizcaino
   ========================================================================== */
header {
    height: 15.44em;
    background: url(img/bearAllHead.png) no-repeat 0 0 ;
    background-position: top center;
    height: fit-content; 
    background-size: 15%;
}



/* Clearfix - used for the navigation */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	height: 40px;
	width: 100%;
	background: #455868;
	font-size: 1.09em;
	font-family: 'Open Sans Condensed', sans-serif;;
	font-weight:600 ;
    color: white;
	position: relative;
	border-bottom: 4px solid #283744;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 600px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 80px;
	text-align: center;
	text-decoration: none;
	line-height: 35px;
	text-shadow: 1px 1px 0px #283744;
}
nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
    color: white;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-color: #8c99a4;
}
nav a#pull {
	display: none;
}


.colorMenu
{
    color:  white;
}

div[role=main]
 {
    color:#010101 ;
    background-color: ; 
    font-family:'Gentium Book Basic', serif; 
    font-size: 1.00em;
    float: left;
    width: 65%;
    padding-right: 15%
}

hr
{
    border: 2px ridge;
    border-color: #336699;
}

.post {
    padding-left: 0%;
    
}

#container2
{
    padding-left: 8%;
}



#across {
    margin: 0;
    width: 100%;
    border-top: 3px solid #888;
    background: #A8A8A8;
    border-bottom: 3px solid #999;
    
}/*for a strechted bottom only*/

#copyright {
    margin: 0;
    width: 100%;
    border-top: 3px solid #888;
    background: #000;
    border-bottom: 3px solid #999;
    color: #fff;
    text-align:center
}/*for a strechted bottom only*/

 .home .content{margin-top: 250px;}
 .home .sidebar{margin-top: 150px;}

.comments{display:block; width: auto; height: 48px;  margin-right: 35px; font-size: 80%; }

.sidebar div{margin-top: 10px; padding-bottom: 10px;}
.sidebar h2{margin-left:20px;}

.sidebar {
 float: left;
 width: 20%;
 border-top: 20%;
 border-top-color: #D0C6B1;
 border-top-style: double;
 border-top-width: thick;
 font-family:'Gentium Book Basic', serif;
 background-color: ;
}

.sidebar1 {
 float: left;
 width: 20%;
 border-top: 20%;
 border-top-color: #06A2CB;
 border-top-style: double;
 border-top-width: thick;
 font-family:'Gentium Book Basic', serif;
 background-color: ;
 

}

.sidebar2 {
 float: left;
 width: 20%;
 border-top: 20%;
 border-top-color: #DD1E2F;
 border-top-style: double;
 border-top-width: thick;
 font-family:'Gentium Book Basic', serif;
 background-color: ;
 

}

/* Text meant only for screen readers */
.screen-reader-text{position: absolute;left: -5000em;}

/* =============================================================================
    Main Color Scheme - Standard Styles

   ========================================================================== */
.bg-main {
    background-color: rgba(254, 254, 254, 0.88);
}
.bg-secondary {
    background-color: #666;
}
.bg-tertiary {
    background-color: #999;
}
.bg-light1 {
    background-color: #eee;
}
.bg-light2 {
    background-color: #ddd;
}
.bg-dark1 {
    background-color: #000;
}
.bg-dark2 {
    background-color: #444;
}


/*gradients - Used it several times, not sure if I like the effects too much, will keep it here to keep play
    around with it.*/
.grd-hz-main {
    background-image: linear-gradient(bottom, rgb(137,136,143) 37%, rgb(184,184,184) 69%, rgb(222,222,222) 85%);
    background-image: -o-linear-gradient(bottom, rgb(137,136,143) 37%, rgb(184,184,184) 69%, rgb(222,222,222) 85%);
    background-image: -moz-linear-gradient(bottom, rgb(137,136,143) 37%, rgb(184,184,184) 69%, rgb(222,222,222) 85%);
    background-image: -webkit-linear-gradient(bottom, rgb(137,136,143) 37%, rgb(184,184,184) 69%, rgb(222,222,222) 85%);
    background-image: -ms-linear-gradient(bottom, rgb(137,136,143) 37%, rgb(184,184,184) 69%, rgb(222,222,222) 85%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.37, rgb(137,136,143)), color-stop(0.69, rgb(184,184,184)), color-stop(0.85, rgb(222,222,222)) );
    -pie-background: linear-gradient(left, #333, #000);
    behavior: url(css/PIE.htc);
}


.grd-vt-main {
    background: -webkit-gradient(linear, left top, left bottom, from(#333), to(#000));
    background: -webkit-linear-gradient(top, #333, #000);
    background: -moz-linear-gradient(top, #333, #000);
    background: -ms-linear-gradient(top, #333, #000);
    background: -o-linear-gradient(top, #333, #000);
    background: linear-gradient(top, #333, #000);
    -pie-background: linear-gradient(top, #333, #000);
    behavior: url(css/PIE.htc);
}

.grd-hz-secondary {
    background: -webkit-gradient(linear, top left, top right, from(#555), to(#222));
    background: -webkit-linear-gradient(left, #555, #222,#eee);
    background: -moz-linear-gradient(left, #555, #222, #eee);
    background: -ms-linear-gradient(left, #555, #222, #eee);
    background: -o-linear-gradient(left, #555, #222, #eee);
    background: linear-gradient(left, #555, #222, #eee);
    -pie-background: linear-gradient(top, #333, #000);
    behavior: url(css/PIE.htc);
}

.grd-hz-secondary1 {
    background: -webkit-gradient(linear, top left, top right, from(#ddd), to(#fff));
    background: -webkit-linear-gradient(left, #ddd, #fff);
    background: -moz-linear-gradient(left, #ddd, #fff);
    background: -ms-linear-gradient(left, #ddd, #fff);
    background: -o-linear-gradient(left, #ddd, #fff);
    background: linear-gradient(left, #ddd, #fff);
    -pie-background: linear-gradient(top, #333, #fff);
    behavior: url(css/PIE.htc);
}
.grd-vt-secondary {
    background: -webkit-gradient(linear, left top, left bottom, from(#555), to(#222));
    background: -webkit-linear-gradient(top, #555, #222);
    background: -moz-linear-gradient(top, #555, #222);
    background: -ms-linear-gradient(top, #555, #222);
    background: -o-linear-gradient(top, #555, #222);
    background: linear-gradient(top, #555, #222);
    -pie-background: linear-gradient(top, #333, #000);
    behavior: url(css/PIE.htc);
}grd-hz-tertiary {
    background: -webkit-gradient(linear, top left, top right, from(#888), to(#999));
    background: -webkit-linear-gradient(left, #aaa, #999);
    background: -moz-linear-gradient(left, #aaa, #999);
    background: -ms-linear-gradient(left, #aaa, #999);
    background: -o-linear-gradient(left, #aaa, #999);
    background: linear-gradient(left, #aaa, #999);
    -pie-background: linear-gradient(top, #333, #000);
    behavior: url(css/PIE.htc);
}


.grd-vt-tertiary {
 
   background: -webkit-gradient(linear, left top, left bottom, from(#36f), to(#36f));
   background: -webkit-linear-gradient(top, #36f, #36f);
    background: -moz-linear-gradient(top, #36f, #36f);
    background: -ms-linear-gradient(top, #36f, #36f);
    background: -o-linear-gradient(top, #36f, #36f);
    background: linear-gradient(top, #36f, #36f);
    -pie-background: linear-gradient(top, #36f, #36f);
    behavior: url(css/PIE.htc);
}


/*font colors*/
.clr-main{ color: #666;}
.clr-secondary{color: #aaa;}
.clr-tertiary{color: #999;}
.clr-light1{color: #eee;}
.clr-light2{color: #ddd;}
.clr-dark1{color:#000;}
.clr-dark2{color:#333;}
  

/*borders*/
.bdr{border: 0px solid;}
	/*apply thickness*/
.bdr-2px{border: 2px solid;}
	/*pick a side*/
    
.bdr-top{border-left:none; border-right: none; border-bottom: none;}
.bdr-left{border-top:none; border-right: none; border-bottom: none;}
.bdr-right{border-left:none; border-top: none; border-bottom: none;}
.bdr-bottom{border-left:none; border-right: none; border-top: none;}
	/*leverage selectors for border colors
	 -be sure to apply your rules in this order*/
.bg-main.bdr{border-color: #aaa;}
.bg-secondary.bdr{border-color: #999;}
.bg-tertiary.bdr{border-color: #eee;}
.bg-light1.bdr{border-color: #ddd;}
.bg-light2.bdr{border-color: #000;}
.bg-dark1.bdr{border-color: #333;}
.bg-dark2.bdr{border-color: #666;}	

/*rounded corners - Like this very much, instead of using an image the code can do it for you*/
.rnd {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    behavior: url(css/PIE.htc);
}

	/*only two corners*/
.rnd-top{-webkit-border-radius: 5px 5px 0 0; 
-moz-border-radius: 5px 5px 0 0; 
border-radius: 5px 5px 0 0;
behavior: url(css/PIE.htc);}

.rnd-left {
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    behavior: url(css/PIE.htc);
}

.rnd-right {
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    behavior: url(css/PIE.htc);
}

.rnd-bottom {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    behavior: url(css/PIE.htc);
}

	/*leverage selectors to get only one corner
	 --make sure you apply them in this order!*/
.rnd-left.rnd-top {
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 0 0;
    behavior: url(css/PIE.htc);
}

.rnd-right.rnd-top {
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
    border-radius: 0 5px 0 0;
    behavior: url(css/PIE.htc);
}

.rnd-left.rnd-bottom {
    -webkit-border-radius: 0 0 0 5px;
    -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
    behavior: url(css/PIE.htc);
}

.rnd-right.rnd-bottom{-webkit-border-radius: 0 0 5px 0; 
-moz-border-radius: 0 0 5px 0; 
border-radius: 0 0 5px 0;
behavior: url(css/PIE.htc);}


/*box-shadows*/
.shdw-centered {
    -moz-box-shadow: 0 0 .15px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    behavior: url(css/PIE.htc);
}

.shdw-offset {
    -moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    behavior: url(css/PIE.htc);
}

/*emboseed text -(0, 0, 0, 0.5);
}

/*emboseed text - will not render in IE!*/
.embossed{text-shadow: rgba(0,0,0,0.1) 0 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.2) 0 1px, rgba(0,0,0,0.3) 0 -1px;}

/*Special font for nav and header items*/








/* ==|== media queries ======================================================
    Media Query for Responsive Design.
   For the Meat and Potatoes of the project 
   Used these queries to create a reponsive site of different form factors 
   ========================================================================== */

/*remember, there are also media queries in the layout-core! double check there if you run into conflicts*/
@media only screen and (min-width: 35em) {
    /*for very large screens*/
   
	
}

@media (max-width: 1024px) {
	/*for laptop/netbook/tablet screens*/
	header {
    height: 15.44em;
    background: url(img/bearAllHead.png) no-repeat 0 0 ;
    background-position: top center;
    height: fit-content; 
    background-size: 23%;
    }

    div[role=main]
    {
    color:#010101 ;
    background-color: ; 
    font-family:'Gentium Book Basic', serif; 
    font-size: 0.94em;
    float: left;
    width: 59%;
    padding-right: 10%
    }

    .sidebar {
     float: left;
     width: 30%;
     border-top: 25%;
     border-top-color: #D0C6B1;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.95em;
     background-color: ;
    }    

   .sidebar1 {
     float: left;
     width: 30%;
     border-top: 25%;
     border-top-color: #06A2CB;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.95em;
     background-color: ;
    }    

	.sidebar2 {
     float: left;
     width: 30%;
     border-top: 25%;
     border-top-color: #DD1E2F;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.95em;
     background-color: ;
    }    

}

/*@media (min-width: 480px) and (max-width: 800px)*/
@media screen and (max-width: 600px) 
 {
	/*for tablet screens*/
    header {
    height: 15.44em;
    background: url(img/bearAllHead.png) no-repeat 0 0 ;
    background-position: top center;
    height: fit-content; 
    background-size: 32%;
    }

    div[role=main]
    {
    color:#010101 ;
    background-color: ; 
    font-family:'Gentium Book Basic', serif; 
    font-size: 0.89em;
    float: left;
    width: 114%;
    padding-right: 2%
    }

    .sidebar {
     float: left;
     width: 33.33%;
     border-top: 25%;
     border-top-color: #D0C6B1;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    }    

   .sidebar1 {
     float: left;
     width: 33.33%;
     border-top: 25%;
     border-top-color: #06A2CB;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    }    

	.sidebar2 {
     float: left;
     width: 33.33%;
     border-top: 25%;
     border-top-color: #DD1E2F;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    } 

        #container2
        {
            padding-left: 3%;
        } 
  
    .comments{display:block; width: auto; height: 48px;  margin-right: 35px; font-size: 100%; }

    #across {
        margin: 0;
        width: 100%;
        border-top: 3px solid #888;
        background: #A8A8A8;
        border-bottom: 3px solid #999;
        font-family:'Gentium Book Basic', serif;
        font-size: 0.87em;
    
    }/*for a strechted bottom only*/
 
    #copyright {
    margin: 0;
    width: 100%;
    border-top: 3px solid #888;
    background: #000;
    border-bottom: 3px solid #999;
    color: #fff;
    border-bottom: 3px solid #999;
    font-family:'Gentium Book Basic', serif;
    font-size: 0.87em;    
    }/*for a strechted bottom only*/

/*navigation*/
    nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 30%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 2px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}


@media only screen and (max-width : 480px) {
	/*phones*/
/*for tablet screens*/
    header {
    height: 15.44em;
    background: url(img/bearAllHead.png) no-repeat 0 0 ;
    background-position: top center;
    height: fit-content; 
    background-size: 70%;
    }

    div[role=main]
    {
    color:#010101 ;
    background-color: ; 
    font-family:'Gentium Book Basic', serif; 
    font-size: 0.90em;
    float: left;
    width: 99.1%;
    padding-right: 2%
    }

    .sidebar {
     float: left;
     width: 99%;
     border-top: 25%;
     border-top-color: #D0C6B1;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    }    

   .sidebar1 {
     float: left;
     width: 99%;
     border-top: 25%;
     border-top-color: #06A2CB;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    }    

	.sidebar2 {
     float: left;
     width: 99%;
     border-top: 25%;
     border-top-color: #DD1E2F;
     border-top-style: double;
     border-top-width: thick;
     font-family:'Gentium Book Basic', serif;
     font-size: 0.87em;
     background-color: ;
    } 

        #container2
        {
            padding-left: 3%;
        } 
  
    .comments{display:block; width: auto; height: 48px;  margin-right: 35px; font-size: 100%; }

    #across {
        margin: 0;
        width: 100%;
        border-top: 3px solid #888;
        background: #A8A8A8;
        border-bottom: 3px solid #999;
        font-family:'Gentium Book Basic', serif;
        font-size: 0.70em;
        font-stretch: condensed;
    
    }/*for a strechted bottom only*/
 
    #copyright {
    margin: 0;
    width: 100%;
    border-top: 3px solid #888;
    background: #000;
    border-bottom: 3px solid #999;
    color: #fff;
    border-bottom: 3px solid #999;
    font-family:'Gentium Book Basic', serif;
    font-size: 0.87em;    
    }/*for a strechted bottom only*/
	
    	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('img/nav-icon.png') no-repeat;
		width: 14px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}

}
	

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}

  #across {
        
        font-size: 0.50em;
       
    }/*for a strechted bottom only*/
 
}
    /*Navicon info from http://www.hongkiat.com/blog/responsive-web-nav/ */


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; } */



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
